package testy;

import static org.junit.Assert.*;
import gra.Card;

import org.junit.Test;
public class CardTest 
{
    @Test
	public void showTest()
	{
	    Card karta1 = new Card(10, 0);
	    karta1.show();
	    assertNotNull(karta1);
	}
    
    @Test(expected = IllegalArgumentException.class)  
    public void CardTest2()
    {
        Card karta1 = new Card(1687, 134);
        assertNotNull(karta1);
        karta1.show();
    }
	
}
